Pain response testing